<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Fun_images extends MY_Controller {
     var $_templates=array();
     var $_lang = '';
    function __construct() {
        parent::__construct();
        $this->session->set_userdata(array('Url'=>uri_string()));
        $this->_lang = $this->lang->lang();
        $this->lang->load('images');
        $this->load->model('imagebeauty_model','imagebeauty');
		$this->load->library('string_library');
        $this->imagebeauty->initialise($this->_lang);
    }
    function load_fun_images(){	
		$data=array();
		$data['funItems'] = $this->imagebeauty->getAllImagesFun();
        echo $this->load->view('fun_images_right_view',$data,true);
    }
    
}